<template>
	<view class="main">
		<view class="top">
			<image class="top-img" src="../../static/icon/home-def.png" mode=""></image>
		</view>
		<view class="list">
			<view class="item">
				<view class="item-l">
					<image class="item-icon" src="../../static/icon/me-def.png" mode=""></image>
					<view class="item-lable">设备名称</view>
				</view>
				<view class="item-r">数字球囊压力泵</view>
			</view>
			<view class="item">
				<view class="item-l">
					<image class="item-icon" src="../../static/icon/me-def.png" mode=""></image>
					<view class="item-lable">设备名称</view>
				</view>
				<view class="item-r">数字球囊压力泵</view>
			</view>
			<view class="item">
				<view class="item-l">
					<image class="item-icon" src="../../static/icon/me-def.png" mode=""></image>
					<view class="item-lable">设备名称</view>
				</view>
				<view class="item-r">数字球囊压力泵</view>
			</view>
		</view>
		<view @click="connectClick" class="lian-btn">取消连接</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			connectClick(){
				uni.navigateTo({
					url: '/pages/index/connect'
				})
			},
		}
	}
</script>

<style scoped>
	.top{
		height: 400rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #fff;
	}
	.top-img{
		width: 250rpx;
		height: 265rpx;
	}
	.list{
		margin-top: 10rpx;
		padding: 0 30rpx;
		background-color: #fff;
	}
	.item{
		display: flex;
		align-items: center;
		height: 86rpx;
		border-bottom: 1px solid #f0f0f0;
	}
	.item:last-child{
		border-bottom: none;
	}
	.item-l{
		flex-shrink: 0;
		display: flex;
		align-items: center;
	}
	.item-icon{
		flex-shrink: 0;
		width: 40rpx;
		height: 40rpx;
	}
	.item-lable{
		flex-shrink: 0;
		margin-left: 10rpx;
	}
	.item-r{
		margin-left: 20rpx;
		flex: 1;
		text-align: right;
	}
	.lian-btn{
		margin-top: 20rpx;
		height: 86rpx;
		line-height: 86rpx;
		text-align: center;
		background-color: #fff;
	}
</style>
